<template>
  <el-header>
    <el-page-header @back="route.go(-1)" :icon="ArrowLeft">
      <template #title>
        返回
      </template>
      <template #content>
        <span class="text-large font-600 mr-3">{{title}}</span>
      </template>
    </el-page-header>
  </el-header>
</template>
<script setup>
import { defineProps } from "vue";
import { ArrowLeft } from '@element-plus/icons-vue'
import { useRouter } from "vue-router"
defineProps(['title'])
const route = useRouter()
</script>